package com.fowo.api.service.handleWork;

import com.fowo.api.model.logistics.order.LogisticsOrderCutAction;
import com.fowo.api.service.NavSellOrderService;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;
import java.util.List;

@Component
public class LogisticsOrderCutActionImpl implements LogisticsOrderCutAction {

    @Resource
    private NavSellOrderService navSellOrderService;

    @Override
    public void run(List<Long> idList) throws Exception {
        navSellOrderService.cut(idList);
    }
}
